<!DOCTYPE html>
<html lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <script type="text/javascript" src="../../../rsframe/commons/script/common.js"></script>
    <meta charset="UTF-8">
    <title>收取积分</title>
    <style>
        #listTable {
            width: 92%;
            margin: 20px auto;
        }

        label {
            margin-right: 10px;
        }

    </style>
</head>
<body class="easyui-layout">
<div data-options="region:'north'" style="height:320px;overflow: hidden;">
    <table style="width: 100%;height: 100%;" border="0" cellpadding="0" cellspacing="0">
        <tr>
            <td style="width: 35%">
                <div class="easyui-panel" data-options="border:false,fit:true,title:'扫码收积分/扫码兑商品'">
                    <form class="easyui-form" method="post" id="code">
                        <table>
                            <tr>
                                <td colspan="2">
                                    <p>请用扫码枪扫描用户支付码 或 用户商品兑换订单码
                                    </p>
                                </td>
                            </tr>
                            <tr>
                                <th style="width: 100px;">支付码 或 兑换码</th>
                                <td>
                                    <label>
                                        <input id="payCode" name="payCode" autofocus="autofocus" class="easyui-validatebox" style="width: 250px;"
                                               data-options="prompt:'请扫描用户支付码/商品兑换码'"/>
                                    </label>
                                </td>
                            </tr>
                            <tr id="expendScoreNum" style="display:none;">
                                <th>需收积分数量</th>
                                <td>
                                    <label>
                                        <input id="expendScoreCode" name="expendScoreCode" class="easyui-validatebox" style="width: 200px;"
                                               data-options="prompt:'请输入积分数量'"/>
                                    </label>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="2" align="center" style="text-align: center;">
                                    <a id="btn1" class="easyui-linkbutton" data-options="iconCls:'icon-save'">确认兑换</a>
                                </td>
                            </tr>
                        </table>
                    </form>
                </div>
            </td>
            <td style="width: 65%">
                <div class="easyui-panel" data-options="border:false,fit:true,title:'短信验证码收积分'">
                    <form class="easyui-form" method="post" id="SMS">
                        <table style="width: 90%">
                            <tr>
                                <th style="width: 110px;">客户身份证号后六位</th>
                                <td>
                                    <label>
                                        <input id="personId" name="personId" class="easyui-validatebox" style="width: 150px;"
                                               data-options="prompt:'请输入身份证号后六位'"/>
                                    </label>
                                </td>
                                <th style="width: 110px;">客户手机号</th>
                                <td>
                                    <label>
                                        <input id="phone" name="phone" class="easyui-validatebox" style="width: 150px;"
                                               data-options="prompt:'请输入手机号'"/>
                                    </label>
                                </td>
                            </tr>
                            <tr>
                                <th>需收积分数量</th>
                                <td>
                                    <label>
                                        <input id="expendScoreSMS" name="expendScoreSMS" class="easyui-validatebox" style="width: 150px;"
                                               data-options="prompt:'请输入积分数量'"/>
                                    </label>
                                </td>
                                <th>客户提供的验证码</th>
                                <td>
                                    <label>
                                        <input id="verifyCode" name="verifyCode" class="easyui-validatebox" style="width: 150px;"
                                               data-options="prompt:'请输入验证码'"/>
                                    </label>
                                </td>
                            </tr>
                            <tr style="display: none;" id="surplusIntegralTr">
                                <th>客户剩余积分总量</th>
                                <td colspan="3" id="surplusIntegral"></td>
                            </tr>
                            <tr>
                                <td colspan="4" align="center" style="text-align: center;">
                                    <a href="javascript:;" class="easyui-linkbutton" id="sendCheackNum" onclick="getVerificationCode()">发送验证码 </a>&nbsp;&nbsp;&nbsp;&nbsp;
                                    <a id="query" class="easyui-linkbutton" data-options="iconCls:'icon-search'">查询积分</a>&nbsp;&nbsp;&nbsp;&nbsp;
                                    <a id="btn2" class="easyui-linkbutton" data-options="iconCls:'icon-save'">确认兑换</a>
                                </td>
                            </tr>
                        </table>
                    </form>
                </div>
            </td>
        </tr>
    </table>
</div>
<div data-options="region:'center',title:'收分记录'">
    <div id="listTable"></div>
</div>
</body>
</html>







